/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techshop.dao;

import com.techshop.model.Image;
import java.util.List;

/**
 *
 * @author Hai-PC
 */
public interface ImageDao
{    
    public boolean insert(Image image);
    public boolean delete(Image image);
    public List<Image> getByPhone(int phoneId, String category);
    public List<Image> getByPhoneAndColor(int phoneId, String colorId, String category);
}